package com.dengjk.codegenerator.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author dengjk
 * @version 1.0.0
 * @ClassName EditorController.java
 * @Description 在线编辑器
 * @createTime 2018年12月27日 10:23:00
 */
@Controller
@RequestMapping("/tools")
public class ToolsController extends BaseController {

    @GetMapping(value = "/to-markdown")
    public String toMarkDownEditor() {
        return "/views/tools/markdown";
    }

    @GetMapping(value = "/to-code-diff")
    public String toCodeDiff() {
        return "/views/tools/code-diff";
    }

}
